PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFTextAnnotation Class / setIcon Method
The name of the text annotation icon.
In This Topic
    setIcon Method
    In This Topic
    Sets the text annotation icon name.
    The icon name defines the annotation's visual appearance. The library supports a predefined set of names for which standard appearance is created. When a custom name is used, a custom appearance must also be provided.
    Syntax
    public void setIcon( 
       java.lang.String icon
    )

    Parameters

    icon
    The name of the text annotation icon.
    Exceptions
    ExceptionDescription
    When the icon is null or empty.
    See Also